#include "thuvien.h"
int tinhtong(int n)
{
     int tong=0;
	 while(n>0)
	 { 
		 tong=tong+(n%10);
		 n=n/10;
	 }
	 return tong;
}